package com.eusoft.demo_project.service;

import com.eusoft.demo_project.entity.Car;
import com.eusoft.demo_project.entity.Car_state;
import com.eusoft.demo_project.entity.Car_type;
import com.eusoft.demo_project.entity.User;

import java.util.Date;
import java.util.List;

public interface CarManageService {

    List<Car_type> queryCarTypeList();
    List<Car_state> queryCarStateList();
    Integer countCarList(Integer id,Integer stateId ,String search);
    List<Car> queryCarList(Integer id,Integer stateId ,String search, Integer offset, Integer pageRows);
    void delCar(Integer aid);
    Car queryCarDetail(Integer aid);
    Integer countCarUser(Integer aid);
    List<User> querycarUserList(Integer aid,Integer offset, Integer pageRows);
    Car queryCarInfo(Integer aid);
    List<User> queryAllUser();
    Boolean checkCarPlateCode(String plateCode,Integer aid);
    void addOrUpdateCar(Integer aid,List<Integer> user_id,String plate_code, String brand, Integer type_id, String type_name, Integer state_id, String state_name, Integer approved_num, String memo);


}
